package com.ssm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ssm.model.CaseObj;

public interface CaseObjMapper {
    
	CaseObj selectByCaseNum(@Param("product") String product, @Param("version") String version, @Param("num") String num);
	
	int deleteByCaseNum(@Param("product") String product, @Param("version") String version, @Param("num") String num);

    int insert(@Param("product") String product, @Param("version") String version, @Param("record") CaseObj record);

    int updateByCaseNum(@Param("product") String product, @Param("version") String version, @Param("record") CaseObj record);

    List<CaseObj> selectSubinfo(@Param("product") String product, @Param("version") String version);
}